package com.ruoyi.repairCar.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 救援任务对象 rescue_task
 * 
 * @author djt
 * @date 2025-03-21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RescueTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 救援任务ID */
    private Long rescueId;

    /** 救援类型（救援类型字典表） */
    @Excel(name = "救援类型", readConverterExp = "救=援类型字典表")
    private Long rescueType;

    /** 救援位置 */
    @Excel(name = "救援位置")
    private String rescueLocation;

    /** 终点位置 */
    @Excel(name = "终点位置")
    private String destination;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private Long vehicleId;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 会员ID */
    @Excel(name = "会员ID")
    private Long memberId;

    /** 车辆类型（车辆类型字典表） */
    @Excel(name = "车辆类型", readConverterExp = "车=辆类型字典表")
    private String vehicleModel;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String vehicleNumber;

    /** 订单状态（订单状态字典表） */
    @Excel(name = "订单状态", readConverterExp = "订=单状态字典表")
    private String orderStatus;

    /** 情况说明 */
    @Excel(name = "情况说明")
    private String situationExplanation;

    /** ext1 */
    @Excel(name = "ext1")
    private String ext1;

    /** ext2 */
    @Excel(name = "ext2")
    private String ext2;

    /** ext3 */
    @Excel(name = "ext3")
    private String ext3;

    /** ext4 */
    @Excel(name = "ext4")
    private String ext4;

    /** ext5 */
    @Excel(name = "ext5")
    private String ext5;

    @TableField(exist = false)
    private Member member;

}
